package com.hnichr.ump.common.assessment.entity;


import com.hnichr.ump.common.entity.UmpEntity;
import com.mxpioframework.jpa.annotation.Generator;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "t_assessment_error_testee")
@Schema(description = "邀请失败受测者信息")
public class ErrorTestee extends UmpEntity {
    @Id
    @Generator
    @Column(name = "ID_", updatable = false)
    @Schema(description = "ID")
    private String id ;

    @Column(name = "TESTEE_ID_")
    @Schema(description = "受测者ID")
    private String testeeId ;

    @Column(name = "ACTIVITY_ID_")
    @Schema(description = "活动ID")
    private String activityId;

    @Column(name = "INVITE_ID_")
    @Schema(description = "邀请ID")
    private String inviteId;

    @Column(name = "INVITE_DATE_")
    @Schema(description = "邀请时间")
    private Date inviteDate;
}
